# 指定CMake的最小版本要求
cmake_minimum_required(VERSION 3.10)

# 设定项目名和语言
project(sound_level_meter VERSION 1.0)

# 设置C++标准
set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)

# find_package(CURL REQUIRED)

include_directories(./model)

# 添加源文件
aux_source_directory(./model dir_src)
message(STATUS ">>> dir_src:${dir_src}")

# 添加执行文件
add_executable(run_soundlevel test_main.cpp ${dir_src})

target_link_libraries(run_soundlevel rt)


